package com.imau.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imau.bean.PermissionMenu;
import org.apache.ibatis.annotations.Insert;

import java.util.Map;

public interface PermissionMenuMapper extends BaseMapper<PermissionMenu> {


    @Insert("insert into  t_permission_menu (id, menu_order) " +
            "VALUES (#{id}, #{menuOrder}) ")
    int addByMap(Map<String, Object> bean);


    int updateByMap(Map<String, Object> bean);

}
